package cn.cyber.wxfire.entity;

import lombok.*;

import java.util.List;

/**
 * @author gjn
 * @since 2021/9/20 11:24
 */
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MenuButton extends BaseButton {
    List<BaseButton> sub_button;
    public MenuButton(String name) {
        super(name);
    }

    public MenuButton(String name, List<BaseButton> buttons) {
        super(name);
        this.sub_button = buttons;
    }
}